import request from '@/utils/request'
//总部原料-列表
export function hqList(data) {
  return request({
    url: '/hq/list',
    method: 'post',
    data
  })
}
//总部原料导入记录-列表
export function hqImportLogList(data) {
  return request({
    url: '/hq/import-log-list',
    method: 'post',
    data
  })
}

//总部原料导入-列表
export function hqImportList(data) {
  return request({
    url: '/hq/import-list',
    method: 'post',
    data
  })
}
//门店原料申请-表单
export function shopReview(data) {
  return request({
    url: '/hq/shop-review',
    method: 'post',
    data
  })
}
//总部原料-描述列表总值
export function hQMaterialSummary(data) {
  return request({
    url: '/hq/summary',
    method: 'post',
    data
  })
}

//门店原料申请审批记录-列表
export function hqMaterialApplicationReviewList(data) {
  return request({
    url: '/hq/hq-review-list',
    method: 'post',
    data
  })
}

//门店原料申请审批记录详情-列表
export function hqMaterialApplicationReviewDetailList(data) {
  return request({
    url: '/hq/hq-review-detail-list',
    method: 'post',
    data
  })
}

//门店原料申请审批记录删除-列表
export function hqReviewDelete(params) {
  return request({
    url: '/hq/hq-review-delete',
    method: 'get',
    params: params
  })
}


//门店原料申请审批
export function hqMaterialReviewExecutor(params) {
  return request({
    url: '/hq/hq-review',
    method: 'get',
    params: params
  })
}
